package basic.com.liz.learn.design.visitor;

public class MyVisitor implements Visitor
{
    
    @Override
    public void visit(Subject subject)
    {
        System.out.println(subject.getSubject());
    }
    
}
